<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/chiptrack-tags.tld" prefix="chiptrack" %>

<%@ page import="java.util.Calendar, com.scalar.chiptrack.utils.ConfigManager"%>

<chiptrack:checkLogon sourcePage="/financeReport.do?action=costVarianceNew" />


<HTML><HEAD>

<%String chipTracContext = "/" + ConfigManager.getChipTracContext();%>

<TITLE>Scalarsoft - ChipTrac</TITLE>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<LINK href="<%=chipTracContext%>/jsp/includes/stylesheets/scalarsoft.css" type=text/css rel=stylesheet>

<META content="MSHTML 5.50.4807.2300" name=GENERATOR>
<script>
    var dateElement = "";
    function openCalendar(dateValue)
    {
        dateElement = dateValue;
        newWindow = window.open('<%=chipTracContext%>/jsp/includes/calendar.html','optionsPopup','channelmode=no,directories=no,toolbar=no,menubar=no,personalbar=no,status=no,scrollbars=no,width=180,height=440,resizable=no');
        newWindow.moveTo(550,180);
        newWindow.focus();
    }
    function assignDate(passedValue)
    {
        dateElement.value=passedValue;
        window.focus();
    }
    function submitPage() {
        var form = document.finanaceReportForm;
        form.submit();
    }
</script>
</HEAD>
<BODY bgColor=#ffffff leftMargin=0 topMargin=0 marginheight="0" marginwidth="0">
<!-- Top Header Start-->
<%@ include file="/jsp/includes/header.jsp" %>
<!-- Top Header End-->

<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
  <TBODY>
  <TR>
	<td width='180' valign='top' background='<%=chipTracContext%>/jsp/includes/images/left_red_bg.gif'>

<!-- Side Navigation start -->
<%@ include file="/jsp/finance/finance_reports_menu.jsp" %>
<!-- end of the side navigations -->
<TD bgcolor="#ffffff"></TD>
<TD bgcolor="#ffffff"><IMG height=480 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=2></TD>
<TD valign="top" width="100%">

<IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/clear.gif" width=500 border=0>
<BR>
<!-- from here your body starts -->

<center><span class="NArialW">Cost Variance Report</span></center>
<img src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" height=20>
<html:form name="finanaceReportForm" type="com.scalar.chiptrack.finance.reports.forms.FinanaceReportForm" action="/financeReport.do?action=xlsCostVarianceNew">
  <table border="0" width="60%" align=center>
    <tr><td colspan=5><img src="<%=chipTracContext%>/jsp/includes/images/spacer/gif" height=10></td></tr>
    <tr>
        <td width="15%" class="NArialL">Quarter :</td>
        <td width="20%" class="NArialL" nowrap>
                <html:select property="fromQtr" name="finanaceReportForm" styleClass="txfield">
                    <html:options collection="quarterList" property="value" labelProperty="label"/>
                </html:select>
                <html:select property="fromYear" name="finanaceReportForm" styleClass="txfield">
                    <html:options collection="years" property="value" labelProperty="label"/>
                </html:select>
        </td>
        <td width="10%">&nbsp;</td>
        <td width="15%" class="NArialL">Compare to Quarter :</td>
        <td width="20%" class="NArialL" nowrap>
                <html:select property="toQtr" name="finanaceReportForm" styleClass="txfield">
                    <html:options collection="quarterList" property="value" labelProperty="label"/>
                </html:select>
                <html:select property="toYear" name="finanaceReportForm" styleClass="txfield">
                    <html:options collection="years" property="value" labelProperty="label"/>
                </html:select>
        </td>
    </tr>

    <tr>
        <td width="15%" class="NArialL">As of Date :</td>
        <td width="20%" class="NArialL" nowrap>
                <html:text name="finanaceReportForm" property="fromDate" size="14" styleClass="txfield"/>&nbsp;
		            <A  href="javascript:openCalendar(document.finanaceReportForm.fromDate)">
		            <img name="pickdate" src="<%=chipTracContext%>/jsp/includes/images/date_selector.gif" height="20" width="20" border="0" onmouseover="window.status='Click to Select Date';return true" onmouseout="window.status='';return true"></A>
        </td>
        <td width="10%">&nbsp;</td>
    </tr>


    <tr><td colspan=5><img src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" height=20></td></tr>

	<tr>
      <td colspan=5 align=center>
	  <a href="javascript:submitPage();" onMouseOver="window.status='Click to Generate Cost Variance Report ';return true" onMouseOut="window.status='';return true" title= "Click here to Generate Cost Variance Report "><img border="0" src="<%=chipTracContext%>/jsp/includes/images/submit.gif" width="53" height="17"></a>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <a href="javascript:document.finanaceReportForm.reset();"><img src="<%=chipTracContext%>/jsp/includes/images/reset.gif" border='0' onmouseover="window.status='Click to Reset';return true" onmouseout="window.status='';return true"title="Click here to Reset"></a>
      </td>
    </tr>
  </table>
</html:form>

<!-- till here -->
<BR><BR><BR></TD>
<TD bgcolor="#ffffff"><IMG height=1 src="<%=chipTracContext%>/jsp/includes/images/spacer.gif" width=1></TD>
</TR>
</TABLE>
<!-- Footer starts here -->
<%@ include file="/jsp/includes/footer.jsp" %>
<!-- footer end here -->
</BODY>
</HTML>
